import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import "@/assets/css/index.scss"

// element相关
// import "element-plus/packages/theme-chalk/src/icon.scss"    // 单独导入element icon图标
// import element from "@/plugs/element.js"

// vant 相关
import 'vant/lib/index.css';
import vant from "@/plugs/vant.js"

import {loading} from './minixs/directives.js'
 

// 开发环境下引入mock.js
if(process.env.NODE_ENV==='development'){
    require('../mock')
}

const app = createApp(App)

loading(app)

app.use(vant).use(store).use(router).mount('#app')
